home *** CD-ROM | disk | FTP | other *** search
Text File | 1989-12-22 | 1.8 KB | 43 lines | [TEXT/GEOL] |
- Item forwarded by SCHMUCKER1 to D1974
-
- Item 3539438 19-Dec-89 14:55
-
- From: ROSENSTEIN1 Rosenstein, Larry
-
- To: D1950 CSG, Don Phillips,PRT
-
- cc: MACAPP.TECH$ MacApp Technical
-
- Sub: Re: Re- Re- floppy
-
- I understand your problem with supporting single-floppy systems.
-
- First, I think you should check with Software Licensing to see if you are
- allowed to ship a modified version of the System. (I thought I read some where
- that you weren't allowed to do this.)
-
- You should be able to set up your MacApp program to preload all its code
- segments and keep them resident. I am not sure that you should mark resouces
- as locked, however. Because I don't know where locked resources get loaded.
- It is better to mark the mpreload and lock them from within the application
- (after calling MoveHHi). Also, it might not be necessary to lock everything
- down, as long as it doesn't get purged.
-
- As an alternative to modifying the system, you should consider programmtically
- loading and locking the resources that your program needs. That way your
- program will work regardless of the system it is used with.
-
- In your application, you should list your code segments in a res! resource to
- tell MacApp that these segments are resident. Once you do this, MacApp will
- load and lock them down for you. You will also have to list them in a seg!
- resource since they will be part of you maximum code working set.
-
- As an added idea, you should your own resource that contains a list of resource
- types/IDs of resources that the program should load an lock down at startup (or
- at least make non-purgeable). That way, when it is time to tune things and
- reduce swapping all you have to do is change the resource.
-
- Larry Rosenstein
-
-
-